home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / machserver / 1.098 / timer / timerInt.h < prev    next >
C/C++ Source or Header  |  1990-09-06  |  1KB  |  42 lines

  1. /*
  2.  * timerInt.h --
  3.  *
  4.  *     Internal definitions for the clock timer routines.
  5.  *
  6.  * Copyright 1986, 1988 Regents of the University of California
  7.  * Permission to use, copy, modify, and distribute this
  8.  * software and its documentation for any purpose and without
  9.  * fee is hereby granted, provided that the above copyright
  10.  * notice appear in all copies.  The University of California
  11.  * makes no representations about the suitability of this
  12.  * software for any purpose.  It is provided "as is" without
  13.  * express or implied warranty.
  14.  *
  15.  *
  16.  * rcsid:  $Header: /sprite/src/kernel/timer/RCS/timerInt.h,v 9.2 90/09/06 18:17:30 jhh Exp $ SPRITE (Berkeley) 
  17.  */
  18.  
  19. #ifndef _TIMERINT
  20. #define _TIMERINT
  21.  
  22. #include "spriteTime.h"
  23. #include "sync.h"
  24.  
  25.  
  26. extern Sync_Semaphore     timerMutex;
  27. extern int         timerUniversalToLocalOffset;
  28. extern Boolean        timerDSTAllowed;
  29.  
  30. extern void Timer_CallBack _ARGS_((unsigned int interval, Time time));
  31. extern void TimerTicksInit _ARGS_((void));
  32. extern void Timer_CounterInit _ARGS_((void));
  33. extern void TimerClock_Init _ARGS_((void));
  34. extern void TimerSetSoftwareUniversalTime _ARGS_((Time *newUniversal, 
  35.             int newLocalOffset, Boolean newDSTAllowed));
  36. extern void TimerSetHardwareUniversalTime _ARGS_((Time *timePtr, 
  37.             int localOffset, Boolean DST));
  38. extern void TimerHardwareUniversalTimeInit _ARGS_((Time *timePtr, 
  39.             int *localOffsetPtr, Boolean *DSTPtr));
  40.  
  41. #endif /* _TIMERINT */
  42.